// Copyright (c) 2014 Converter Systems LLC

using ConverterSystems.Workstation.Views;
using Microsoft.Practices.Prism.MefExtensions.Modularity;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.Regions;
using System.ComponentModel.Composition;

namespace ConverterSystems.Workstation.Infrastructure
{
    [ModuleExport(typeof(MainModule))]
    public class MainModule : IModule
    {
        [Import]
        public IRegionManager RegionManager;

        public void Initialize()
        {
            RegionManager.RequestNavigate(RegionNames.MainContent, typeof(MainView).FullName);
        }
    }
}